﻿using DDD.Infrastructure.RepositoryFramework;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Transactions;

namespace DDD.Infrastructure
{
    public class UnitOfWork : IUnitOfWork
    {
        private IDbContext _dbContext;

        public UnitOfWork(IDbContext dbContext)
        {
            this._dbContext = dbContext;
        }

        #region IUnitOfWork Members


        public void Commit()
        {
            //this._dbContext.SaveChanges();
        }


        #endregion
    }
}
